package czy.demo.config;

import czy.demo.endpoint.PersonEndpoint;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.context.annotation.Configuration;

/* Jersey配置类，需要继承ResourceConfig */
@Configuration
public class JerseyConfig extends ResourceConfig {

    public JerseyConfig() {
        register(PersonEndpoint.class);
    }
}
